package model.xpdl2{
	
	public class Association{
		
		
		private var _source:String;
		
		private var _target:String;
		
		public function Association(String s, String t){
			
			this._source=s;
			this._target=t;
			
		}
		
		public function genXML():String{
			
			var xml:String;
			var nspre:String="xpdl2";
			
			xml="<"+nspre+":Association"+" Source=\""+_source+"\" Target=\""+_target+"\" />\n";
						
			return xml;
			
		}		
		
		public function get source():String{
			return _source;
		}
		
		public function set source(source:String):void{
			this._source=source;
		}
		
		public function get target():String{
			return _target;
		}
		
		public function set target(target:String):void{
			this._target=target;
		}
		
	}
}